<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>{$pagetitle}</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  {include file="_container/common_add"}
  <style>
    html{
      overflow-y: scroll;
      overflow-x: scroll;
    }
    body{
      zoom: 100%;
    }
    .layui-form-item .layui-input-inline{ display: flex;align-items: center}
  </style>

  {block name="html_head"}
  {/block}

</head>
<body>



<form action="{:url()}" class="layui-form layui-form-pane padding-top-20" method="post" id="form"  onsubmit="return {$Request.param.is_inner_add ? 'save_form22(this)' : 'save_form3(this)'}" >
  <div class="layui-card">
    <div class="layui-card-body" style="padding-bottom: 80px">
        {block name="content"}
        {/block}

      <div class="flex-center submit-footer">
        {if !$_GET['no_submit']}
        <button class="layui-btn" type="submit" lay-submit>立即提交</button>
        {/if}
        <button type="reset" class="layui-btn layui-btn-primary close" >关闭</button>
      </div>
    </div>
  </div>
</form>

{include file="_container/common_add_action"}


{block name="js"}
{/block}


<script>
  function save_form22(obj){
    save_form(obj, successFun);
    return false;
  }

  function successFun(){
    for (let count = 0; count < 100; count ++){
      parent.layer.close(count)
    }
  }
</script>
</body>
</html>
